<?php
/*由bean脚本生成 powerBy--joe*/
namespace app\common\bean;
class UserImageBean extends BaseBean
{

	static $id = 'id'; //
	static $userId = 'user_id'; //
	static $pic = 'pic'; //图片地址
	static $createdAt = 'created_at'; //
	static $updatedAt = 'updated_at'; //
	static $type = 'type'; //1图片2文档

	static $tableName = 'user_image';
	static $alias = 'UserImageBean';

		
	public function getId(){
		return $this->getParameter(self::$id);
	}

	public function setId($id){
		$this->setParameter('id',$id);
	}

	public function getUserId(){
		return $this->getParameter(self::$userId);
	}

	public function setUserId($userId){
		$this->setParameter('user_id',$userId);
	}

	public function getPic(){
		return $this->getParameter(self::$pic);
	}

	public function setPic($pic){
		$this->setParameter('pic',$pic);
	}

	public function getCreatedAt(){
		return $this->getParameter(self::$createdAt);
	}

	public function setCreatedAt($createdAt){
		$this->setParameter('created_at',$createdAt);
	}

	public function getUpdatedAt(){
		return $this->getParameter(self::$updatedAt);
	}

	public function setUpdatedAt($updatedAt){
		$this->setParameter('updated_at',$updatedAt);
	}

	public function getType(){
		return $this->getParameter(self::$type);
	}

	public function setType($type){
		$this->setParameter('type',$type);
	}


}
